package com.yf.activity;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	public void startSecond(View v) {
		Intent intent = new Intent();
		intent.setAction("com.yf.second");
		intent.setData(Uri.parse("yf:" + 123));
		startActivity(intent);
	}

}
